<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport"
        content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <title>订单详情</title>
    <script src="js/mui.min.js"></script>
    <link href="css/order_detail.css" rel="stylesheet" />
    <link href="css/mui.min.css" rel="stylesheet" />
    <script type="text/javascript" charset="utf-8">
        mui.init();
    </script>
    <script>
        var _hmt = _hmt || [];
        (function () {
            var hm = document.createElement("script");
            hm.src = "https://hm.baidu.com/hm.js?cb5d49b07e0a753dc8ee27ba2c73495d";
            var s = document.getElementsByTagName("script")[0];
            s.parentNode.insertBefore(hm, s);
        })();
    </script>
</head>

<body>
    <div class="container">
        <div class="top">
           <div class="header">
            <div class="header-left">
                <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
                <p>订单详情</p>
            </div>
            <div class="header-right">
                <a class="mui-icon mui-icon-refreshempty"></a>
            </div>
           </div>
            <div class="mui-card">
                <!--页眉，放置标题-->
                <div class="mui-card-header">
                    <h3>骑手赶往商家<p class="inner">由某某快递配送</p>
                    </h3>
                    <div class="imag-show">
                        <p>预计<span>12:15</span>送达</p>
                        <img src="./images/driver.png" />
                    </div>
                </div>

                <div class="detail-card-header">
                    <p class="header-title">订单已完成</p>
                    <h5 class="sub-title">感谢您对5拍8外卖的信任，期待再次光临。</h5>
                    <p class="tip">订单已准时送达！</p>
                </div>

                <!--内容区-->
                <div class="mui-card-content">
                    <button type="button" class="mui-btn mui-btn-outlined">取消订单</button>
                    <button type="button" class="mui-btn mui-btn-outlined">电话骑士</button>
                    <button type="button" class="mui-btn mui-btn-outlined">在线联系</button>
                    <button type="button" class="mui-btn mui-btn-outlined">修改订单信息</button>

                    <button type="button" class="mui-btn mui-btn-outlined">申请退款</button>
                    <button type="button" class="mui-btn mui-btn-outlined">打赏骑手</button>
                    <button type="button" class="mui-btn mui-btn-outlined">再来一单</button>
                    <button type="button" class="mui-btn mui-btn-outlined">评价得积分</button>
                    <button type="button" class="mui-btn mui-btn-outlined">在线联系</button>
                </div>
            </div>
            <div class="mui-card">
                <!--页眉，放置标题-->
                <div class="mui-card-header second">
                    <p class="title">美食推荐</p>
                </div>
                <!--内容区-->
                <div class="mui-card-content">
                    <div class="mui-slider">
                        <div class="mui-slider-group">
                            <div class="mui-slider-item">
                                <a href="#">
                                    <img src="./images/driver.png" />
                                    <p>牛家人大碗牛肉面</p>
                                    <p class="blue">4.8分</p>
                                    <p class="grey">30分钟送达</p>
                                </a>
                            </div>
                            <div class="mui-slider-item">
                                <a href="#">
                                    <img src="./images/driver.png" />
                                    <p>牛家人大碗牛肉面</p>
                                    <p class="blue">4.8分</p>
                                    <p class="grey">30分钟送达</p>
                                </a>
                            </div>
                            <div class="mui-slider-item">
                                <a href="#">
                                    <img src="./images/driver.png" />
                                    <p>牛家人大碗牛肉面</p>
                                    <p class="blue">4.8分</p>
                                    <p class="grey">30分钟送达</p>
                                </a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="mui-card food-card">
                <!--页眉，放置标题-->
                <div class="mui-card-header">
                    <h4>Top One 韩国炸鸡（万宝店）></h4>
                </div>
                <!--内容区-->
                <div class="mui-card-content">
                    <div class="line">
                        <p></p>
                    </div>
                    <div class="flex">
                        <div class="flex-second">
                            <img src="./images/driver.png" />
                        <div>
                            <p>口味双拼炸鸡套餐</p>
                            <p class="grey">中份+孜然撒粉+甜辣酱</p>
                            <p class="grey">X1</p>
                        </div>
                        </div>
                        <div>
                            <label><span>¥</span>52</label>
                        </div>
                    </div>
                    <div class="flex">
                        <p>包装费</p>
                        <label><span>¥</span>1</label>
                    </div>
                    <div class="flex">
                        <p>费送费</p>
                        <label><span>¥</span>0.5</label>
                    </div>
                    <div class="line">
                        <p></p>
                    </div>
                </div>
                <!--页脚，放置补充信息或支持的操作-->
                <div class="mui-card-footer footer">
                    <p>合计&nbsp;&nbsp;<label><span>¥</span>245</label></p>
                </div>
            </div>
            <div class="infor mui-card">
                <p class="infor-title">配送信息</p>
                <div class="infor-content">
                    <div>
                        <label>期望时间</label>
                        <p>立即配送</p>
                    </div>
                    <div>
                        <label>配送地址</label>
                        <p style="margin-bottom: 0;">苏州园区覌棠11-11</p>
                    </div>
                    <div>
                        <label></label>
                        <p>某某某（女士）123***7789</p>
                    </div>
                    <div>
                        <label>配送服务</label>
                        <p>骑手配送</p>
                    </div>
                </div>
            </div>

            <div class="infor mui-card">
                <p class="infor-title">订单信息</p>
                <div class="infor-content">
                    <div>
                        <label>订单号码</label>
                        <p>6221 8888 8888 8888</p>
                    </div>
                    <div>
                        <label>下单时间</label>
                        <p>2020-20-20 10:58:28</p>
                    </div>
                    <div>
                        <label>支付方式</label>
                        <p>在线支付</p>
                    </div>
                </div>
            </div>
        </div>
    </div>


    <!-- 模板引擎 -->
    <!-- <script type="text/html" id="tpl">
		{{ each items v i }}
		<div class="mui-card">
			<div class="mui-card-content">
				<img src="{{ v }}" alt="" class="itemImg">
			</div>
			<div class="mui-card-footer mui-row">
				<div class="title mui-ellipsis mui-col-xs-12">强化地板-白色爱琴海</div>
				<div class="desc mui-ellipsis mui-col-xs-12">欧式风格:浪漫艺术与生活品质的追求</div>
				<div class="data mui-col-xs-12">
					<div class="price">¥<span class="num">999</span>/平</div>
					<div class="salseNum">已售2份</div>
				</div>
			</div>
		</div>
		{{ /each }}
	</script> -->
    <script src="js/jquery-2.2.4.min.js"></script>
    <script src="js/jquery.waterfall.js"></script>
    <script src="js/template-web.js"></script>
    <script>
        $(function () {
            render()

            function render() {
                // var dataList = ["./images/9965de69c69b70d0dab1bb65cd5dc62e.jpg",
                // 	"./images/9965de69c69b70d0dab1bb65cd5dc62e.jpg",
                // 	"./images/9965de69c69b70d0dab1bb65cd5dc62e.jpg", "./images/9965de69c69b70d0dab1bb65cd5dc62e.jpg",
                // 	"./images/9965de69c69b70d0dab1bb65cd5dc62e.jpg", "./images/9965de69c69b70d0dab1bb65cd5dc62e.jpg",
                // 	"./images/9965de69c69b70d0dab1bb65cd5dc62e.jpg", "./images/9965de69c69b70d0dab1bb65cd5dc62e.jpg",
                // ]
                // var htmlStr = template("tpl", dataList);
                // $('.cardList').append(htmlStr);

                //当窗口大小重置之后，重新执行
                $(window).on('resize', function () {
                    $('.cardList').waterFall();
                })


                //当窗口加载完毕，执行瀑布流
                $(window).on('load', function () {
                    $('.cardList').waterFall();
                })
                // var gallery = mui('.mui-slider');
                // gallery.slider({
                // 	interval: 1000 //自动轮播周期，若为0则不自动播放，默认为0；
                // });
            }
        })
    </script>
</body>

</html>